<?php
/**
 * Created by PhpStorm.
 * User: sqq
 * Date: 2018/11/14
 * Time: 18:09
 */
class AhpCityLimitCar extends Eloquent
{
    protected $table = "ahp_city_limit_car";

    public static function getLimit($city_id, $week){
        return AhpCityLimitCar::where('cms_city_id',$city_id)->where('week_id',$week)->where('status',1)->first();
    }
}